package com.hl.card.common.persistence.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 营销管理
 * </p>
 *
 * @author huangpu
 * @since 2018-06-07
 */
@TableName("marketing_manage")
public class MarketingManage extends Model<MarketingManage> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 单日签到当日送比豆数量
     */
	private Integer firstday;
    /**
     * 是否开启连续签到 0 开启 1 关闭
     */
	private Integer continuous;
    /**
     * 连续5日签到送比豆数量
     */
	@TableField("con_five_day")
	private Integer conFiveDay;
    /**
     * 连续10日签到送比豆数量
     */
	@TableField("con_ten_day")
	private Integer conTenDay;
    /**
     * 文章分享一篇 送比豆
     */
	@TableField("article_share")
	private Integer articleShare;
    /**
     * 单日 文章分享 送比豆限制
     */
	@TableField("article_share_limit")
	private Integer articleShareLimit;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getFirstday() {
		return firstday;
	}

	public void setFirstday(Integer firstday) {
		this.firstday = firstday;
	}

	public Integer getContinuous() {
		return continuous;
	}

	public void setContinuous(Integer continuous) {
		this.continuous = continuous;
	}

	public Integer getConFiveDay() {
		return conFiveDay;
	}

	public void setConFiveDay(Integer conFiveDay) {
		this.conFiveDay = conFiveDay;
	}

	public Integer getConTenDay() {
		return conTenDay;
	}

	public void setConTenDay(Integer conTenDay) {
		this.conTenDay = conTenDay;
	}

	public Integer getArticleShare() {
		return articleShare;
	}

	public void setArticleShare(Integer articleShare) {
		this.articleShare = articleShare;
	}

	public Integer getArticleShareLimit() {
		return articleShareLimit;
	}

	public void setArticleShareLimit(Integer articleShareLimit) {
		this.articleShareLimit = articleShareLimit;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "MarketingManage{" +
			"id=" + id +
			", firstday=" + firstday +
			", continuous=" + continuous +
			", conFiveDay=" + conFiveDay +
			", conTenDay=" + conTenDay +
			", articleShare=" + articleShare +
			", articleShareLimit=" + articleShareLimit +
			"}";
	}
}
